﻿using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input.Touch;


namespace LoD.WPClientLibrary.Controls {
    public abstract class GuiControl : Sprite {
        protected GuiControl(ContentManager content, SpriteBatch spriteBatch, SpriteFont font)
            : base(content, spriteBatch) { this.Font = font; }

        protected SpriteFont Font { get; set; }

        public override bool Load(string filename) { return base.Load(filename); }

        public virtual void Update(TouchLocation touch) { }

        // ReSharper disable RedundantOverridenMember
        public override void Draw() { base.Draw(); }
        // ReSharper restore RedundantOverridenMember
    }
}